package cn.wolfcode.luowowo.scenic.service.impl;

import cn.wolfcode.luowowo.scenic.domain.ScenicTag;
import cn.wolfcode.luowowo.scenic.mapper.ScenicTagMapper;
import cn.wolfcode.luowowo.scenic.service.IScenicTagService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class ScenicTagServiceImpl implements IScenicTagService {
    @Autowired
    private ScenicTagMapper scenicTagMapper;


    public List<ScenicTag> getScenicTag(Long destId) {
        List<ScenicTag> scenicTags = scenicTagMapper.selectByDestId(destId);
        return scenicTags;
    }


}
